package com.haois.ws.common.constant;

/**
 * Created by haol on 2017/4/10.
 */
public class ReturnState {
    public static final String CODE_00 = "00";
    public static final String MSG_00 = "正常响应";
    public static final String CODE_01 = "01";
    public static final String MSG_01 = "查询列表为空";
    public static final String CODE_02 = "02";
    public static final String MSG_02 = "没有对应数据";
    public static final String CODE_03 = "03";
    public static final String MSG_03 = "违反唯一性";
    public static final String CODE_04 = "04";
    public static final String MSG_04 = "没有权限";
    public static final String CODE_05 = "05";
    public static final String MSG_05 = "缺省值";
    public static final String CODE_06 = "06";
    public static final String MSG_06 = "违反规则";

    public static final String CODE_10 = "10";
    public static final String MSG_10 = "普通错误";
    public static final String CODE_11 = "11";
    public static final String MSG_11 = "系统内部错误";
    public static final String CODE_12 = "12";
    public static final String MSG_12 = "参数传递不正确";
    public static final String CODE_13 = "13";
    public static final String MSG_13 = "非法请求";
    public static final String CODE_14 = "14";
    public static final String MSG_14 = "数据不匹配";
    public static final String CODE_15 = "15";
    public static final String MSG_15 = "缺省值";


    public static final String INSERT_SUCCESS = "增加成功";
    public static final String INSERT_FAIL = "增加失败";
    public static final String DELETE_SUCCESS = "删除成功";
    public static final String DELETE_FAIL = "删除失败";
    public static final String UPDATE_SUCCESS = "更新成功";
    public static final String UPDATE_FAIL = "更新失败";
    public static final String SUCCESS = "成功";
    public static final String FAIL = "失败";

    public static final String NO_MSG = "未完善信息";
    public static final String YES_MSG = "已完善信息";

    public static final String NO_FIND = "未找到";

    public static final String NO_UNIQUE = "违反唯一性";

    public static final String DOWN_SUCCESS = "下载成功";
    public static final String DOWN_FAIL = "下载失败";
    public static final String UP_SUCCESS = "上传成功";
    public static final String UP_FAIL = "上传失败";

    public static final String NO_DATA = "没有数据";
}
